/* === Updates & Events === */
.updates-box {
  background: #f8f9fa;
  padding: 4rem 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.updates-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 2rem;
}

/* Scrollable Chat-style Box */
.updates-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 1.5rem;
  height: 500px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Each update bubble */
.update-item {
  background: #f1f3f4;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
  color: #202124;
  word-wrap: break-word;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.update-item img,
.update-item video {
  width: 100%;
  border-radius: 10px;
  margin-top: 0.8rem;
}

.update-item a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.update-item a:hover {
  text-decoration: underline;
}

.update-time {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #5f6368;
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .updates-container {
    height: 420px;
    padding: 1rem;
  }
  .update-item {
    font-size: 0.95rem;
  }
}
